package com.hospital.user.registration.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户挂号的实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DiseaseInfo {
    private int id;
    //病历的id
    private Integer userId;
    //用户的名字
    private String userName;
    //检查的病
    private String userType;
    //检查的医生名字
    private String doctorName;
    private Integer doctorId;
    //看病的时间
    private String time;

    public DiseaseInfo(Integer userId, String userName, Integer doctorId, String time) {
        this.userId = userId;
        this.userName = userName;
        this.doctorId = doctorId;
        this.time = time;
    }

    public DiseaseInfo(Integer userId, String time) {
        this.userId = userId;
        this.time = time;
    }

    public DiseaseInfo(Integer userId, Integer doctorId, String time) {
        this.userId = userId;
        this.doctorId = doctorId;
        this.time = time;
    }
}
